import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  globalStyle: {
    navigationStyle: 'custom',
    navigationBarTitleText: 'unibest',
    navigationBarBackgroundColor: '#f8f8f8',
    navigationBarTextStyle: 'black',
    backgroundColor: '#FFFFFF',
  },
  easycom: {
    autoscan: true,
    custom: {
      '^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
      '^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
        'z-paging/components/z-paging$1/z-paging$1.vue',
      'c-(.*)': '@/components/c-$1/c-$1.vue'
    },
  },
  condition: {
    current: 1,
    list: [
      {
        path: '/pages/userServiceAgreement/index',
        name: 'share',
      }
    ]
  },
  // tabBar: {
  //   color: '#999999',
  //   selectedColor: '#FF800E',
  //   backgroundColor: '#fff',
  //   borderStyle: 'white',
  //   height: '55px',
  //   fontSize: '10px',
  //   iconWidth: '14px',
  //   spacing: '3px',
   
  // },
})
